package com.plian.system.dto.zzd;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @Description: TODO
 * @Author: Take-off
 * @Date: 2023/3/15 9:54 AM
 * @Param
 * @return
 * @Version: 1.0
 **/
@Data
@ApiModel(value = "ZZDProjectQuery",description = "浙政钉-规划投资-查询query")
public class ZZDProjectQuery implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("1-按投资金额；2-按完成率")
    private Integer type;

    @Pattern(regexp = "^\\d{4}-((0([1-9]))|(1(0|1|2)))$", message = "统计日期格式错误", groups = ZZDQuery.QueryGroup.class)
    @ApiModelProperty("统计日期 2020-01 默认当前时间")
    private String reportTime;

}
